package com.example.demo.entity.bean.dataSource2;

import com.example.demo.entity.dataSource2.*;

import java.util.List;

/**
 * OrderBean只关心与Order直接有关的数据,不关心隔代数据,如 OrderTaskPropertyOrgEntity
 * OrderTaskPropertyOrgEntity应由OrderTaskBean关心
 * Created by Wen Gao on 2018/7/30.
 */
public class OrderBean {

    /**
     * OrderNo可以作为Order的唯一key
     * */
    private String orderNo;
    // orderHeader, orderMemo, orderHistory, orderRescan


    /******************************************************************************************************************************************************
     * 关联关系
     *******************************************************************************************************************************************************/
    private OrderHeaderEntity orderHeaderEntity;
    private List<OrderHistoryEntity> orderHistoryEntityList;
    private OrderMemoEntity orderMemoEntity;
    private List<OrderRescanEntity> orderRescanEntityList;
    private List<OrderResoucePoolEntity> orderResoucePoolEntityList;
    /**
     * 其中OrderTask业务上还会对应 OrderTaskPropertyOrgEntity
     * */
    private List<OrderTaskEntity> orderTaskEntityList;


}
